const path = require('path')

module.exports={
    babel: {
        plugins: [
            ["@babel/plugin-proposal-decorators", { legacy: true }]
        ]
    },
    webpack:{
        alias:{
            "!":path.resolve(__dirname,'src'),
            "@a":path.resolve(__dirname,'src'),
            "src":path.resolve(__dirname,'src'),
            "pages":path.resolve(__dirname,"src/pages")
        },
    },
    // style: {
    //     modules: {
    //         localIdentName: ""
    //     },
    //     sass: {
    //         // loaderOptions: { /* Any sass-loader configuration options: https://github.com/webpack-contrib/sass-loader. */ },
    //         loaderOptions: (sassLoaderOptions, { env, paths }) => { return sassLoaderOptions; }
    //     },
    //
    // },
}